package com.ynny.librarysystemmanager.service;

import com.ynny.librarysystemmanager.entity.User;

import java.util.List;

public interface UserService {
    List<User> findAll(User user);


    User findOne(Integer userId);

    int addUser(User user);

    int updateUser(User user);

    //禁用用户
    int disableUser(Integer userId , Integer status);
}
